package com.totoro.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.totoro.dao.AdviceDao;
import com.totoro.dao.BaseHibernateDao;
import com.totoro.domain.Advice;
/**
 * 
 * @author xiang fusheng
 *
 */
/*
 * 毕业生的建议service
 */
@Transactional
@Service
public class AdviceService extends BaseService<Advice, Integer>{
	
	private AdviceDao adviceDao;

	@Autowired
	@Override
	public void setBaseDao(BaseHibernateDao<Advice, Integer> adviceDao) {
		// TODO Auto-generated method stub
		this.baseDao = adviceDao;
		this.adviceDao = (AdviceDao)adviceDao;
	}

	

	

	

}
